package com.qianfeng.wuyang.ximalaya.activity;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

import java.util.List;


/**
 *
 * Created by WangQing on 2016/12/3.
 */

public class RecommendApadter<D> extends RecyclerView.Adapter<RecommendApadter.ViewHolder>{
    private List<D> list;

    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {

        return null;
    }

    @Override
    public void onBindViewHolder(ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return list.size();
    }


    @Override
    public int getItemViewType(int position) {

        return super.getItemViewType(position);
    }

    public static class ViewHolder extends RecyclerView.ViewHolder{

        public ViewHolder(View itemView) {
            super(itemView);

        }
    }

}
